<template>
  <div>
    <span class="base-btn fs15" @click="handleClick">
      <i :class="customIcon" class="iconfont"></i>
      {{txt}}
    </span>
  </div>
</template>

<script type="text/ecmascript-6">
  export default {
    data() {
      return {

      }
    },
    props:['customIcon','txt'],
    methods: {
      handleClick() {
        this.$emit('handleClick')
      }
    },
  }
</script>

<style scoped>
  @import "../assets/css/base.scss";
  div{width: 100%;}
</style>
